package com.xb.xbpm.mapper;

import com.github.pagehelper.Page;
import com.xb.xbpm.bean.Site;

import java.util.List;
import java.util.Map;

public interface SiteMapper {
    int deleteByPrimaryKey(String id);

    int insert(Site record);

    int insertSelective(Site site);

    Site selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Site record);

    int updateByPrimaryKey(Site record);

    Page<Site> selectListByPage(Map<String,String> map);

    Site getSiteInfoById(String id);

    List<Map<String,Object>> getSiteListByUserId(String userid);
}